package com.guigu.tms.base.controller;

import com.guigu.tms.base.service.IPdTruckLicenseService;
import com.guigu.tms.commons.entity.base.PdTruckLicense;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 车辆行驶证表 前端控制器
 * </p>
 *
 * @author wj
 * @since 2022-09-26
 */
@RestController
@RequestMapping("/pdTruckLicense")
public class PdTruckLicenseController {

    @Autowired
    IPdTruckLicenseService iPdTruckLicenseService;

    @GetMapping("/ShowTruckLicense")
    public List<PdTruckLicense> ShowTruckLicense() {
        return iPdTruckLicenseService.ShowTruckLicense();
    }
}
